package com.example.shiroredisdemo.repository;

import com.example.shiroredisdemo.entity.UserRole;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author ：Anitaxiaofeng
 * @description：
 * @create 2018-01-06
 **/
public interface UserRoleRepository extends JpaRepository<UserRole,Integer> {
    List<UserRole> findByUid(Integer uid);
}
